<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<jsp:include page="head.html"/>
</head>
<body>
	<div id="head"><h1>Renndatenbank</h1></div>
	<jsp:include page="menu.html"/>
	<div id="content">
		<h2><c:out value="${title}"/></h2>
		<p><c:out value="${message}"/></p>
		<form method="post" action="SaveRennen.s">
			<table class="editing">
				<colgroup>
					<col class="attribute"/>
					<col class="value"/>
				</colgroup>
				<tbody>
					<tr>
						<td>Renndatum:</td>
						<td>
							<input type="hidden" name="id" value='<c:out value="${rennen.id}"/>'/>
							<input type="text" name="renndatum" value='<c:out value="${rennen.renndatum}"/>' size="50" />
						</td>
					</tr>

					<tr>
						<td>Rennort:</td>
						<td>
							<input type="text" name="rennort" value='<c:out value="${rennen.rennort}"/>' size="50"/>
						</td>
					</tr>
					<tr>
						<td>Bezeichnung:</td>
						<td>
							<input type="text" name="rennbezeichnung" value='<c:out value="${rennen.rennbezeichnung}"/>' size="50"/>
						</td>
					</tr>
						
					<tr>
						<td>Saison:</td>
						<td>
							<select name="saisonid">
      						<c:forEach items="${saisonen}" var="saison">
								<option value="${saison.id}">${saison.saisonid}</option>
							</c:forEach>
							</select>	
					</td>
					</tr>


					<tr>
<!-- // noch übeprüfen -->
<!--						<td>Busplatz:</td> -->
<!--						<td> -->
<!--							<input type="text" name="busplatz" value='<c:out value="${rennen.busplatz}"/>' size="50"/> -->
<!--						</td> -->
<!--						</tr> -->
<!--					<tr class="submit"> -->
						<td colspan="2">
								<input type="submit" value=" Änderungen übernehmen "/>
						</td>
					</tr>
				</tbody>
			</table>
		</form>
	</div>
</body>
</html>  